package com.myz.app.example.mapper;

import com.myz.app.example.po.Organization;

import java.util.List;

/**
 * @author maoyz on 18-4-9.
 */
public interface OrganizationMapper {

    Organization createOrganization(Organization organization);

    Organization updateOrganization(Organization organization);

    void deleteOrganization(Long organizationId);

    Organization findOne(Long organizationId);

    List<Organization> findAll();

    List<Organization> findAllWithExclude(Organization excludeOraganization);

    void move(Organization source, Organization target);
}
